package net.googlecode.demenkov.task3;

import java.math.BigDecimal;

/**
 * Represents Managers.
 *
 * @author Yura Demenkov
 */
public class Manager extends PersonalInfo {

    /**
     * Basic Constructor, creates a Manager.
     *
     * @param firstName Manager's firstname.
     * @param lastName  Manager's lastname.
     */
    public Manager(final String firstName, final String lastName) {
        super(firstName, lastName);
    }

    /**
     * Sets manager has rate per hour or not.
     *
     * @param perHour true if manager has rate per hour
     */
    public void setPerHour(boolean perHour) {
        this.perHour = perHour;
    }


    /**
     * Sets manager has bonus or not.
     *
     * @param bonus true if manager has bonus
     */
    public void setBonus(boolean bonus) {
        this.bonus = bonus;
    }
}
